package cn.cnsy123.shorturls.business.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.cnsy123.shorturls.business.entity.SysMenuInfo;

public interface SysMenuInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysMenuInfo record);

    int insertSelective(SysMenuInfo record);

    SysMenuInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysMenuInfo record);

    int updateByPrimaryKey(SysMenuInfo record);

    List<SysMenuInfo> selectListByStatus(@Param("status") Byte status, @Param("pid") Long pid);

    SysMenuInfo selectByMenuUrl(@Param("menuUrl") String menuUrl);
}